package getSum;

public class Circulate {

	public static void main(String[] args) {
		// for 循环
		int sum = 0;
		for(int i = 2;i<=100;i+=2) {
			sum =sum+i;
		}
        System.out.println("2到100之间的所有偶数之和为: "+sum);
	}

}
